package net.bingosoft.common.data.idgenerator;

import java.util.UUID;

/**
 * 2008-3-27 下午12:32:53
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:通过UUID生成主键
 * ChangeLog:
 */
class UUIDGenerator implements IdGenerator {

	/* (non-Javadoc)
	 * @see net.bingosoft.common.data.IdGenerator#generateId()
	 */
	public String generateId() {
		return UUID.randomUUID().toString();
	}

}
